package com.base.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName(value="biz_expert")
public class ExpertBo {
    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type= IdType.AUTO)
    public String id;

    @TableField("PERSON_ID")
    public String personId;

    @TableField("ACCOUNT")
    public String account;

    @Excel(name="姓名")
    @TableField("NAME")
    public String name;

    @TableField("EXPERT_SOURCE")
    public String expertSource;

//    @Excel(name="出生日期")
    @TableField("BIRTHDAY")
    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date birthday;

    @TableField("SEX_ID")
    public String sexId;

    @TableField("SUBJECT_CLASS_ID")
    public String subjectClassId;

    @TableField("SUBJECT_ID")
    public String subjectId;

    @Excel(name="工作单位")
    @TableField("WORK_UNIT")
    public String workUnit;

    @TableField("EDU_DEGREE")
    public String eduDegree;

    @TableField("EDU_LEVEL")
    public String eduLevel;

    @TableField("TITLE_ID")
    public String titleId;

//    @Excel(name="荣誉称号")
    @TableField("HONOR_TITLE_ID")
    public String honorTitleId;

    @Excel(name="研究方向")
    @TableField("RESEARCH_FIELD")
    public String researchField;

    @Excel(name="手机号码")
    @TableField("MOBILE")
    public String mobile;

    @Excel(name="办公电话")
    @TableField("TEL_OFFICE")
    public String telOffice;

    @Excel(name="邮箱")
    @TableField("EMAIL")
    public String email;

    @TableField("CHECKER")
    public String checker;

    @TableField("CHECKDATE")
    public String checkdate;

    @TableField("CHECKSTATUS")
    public String checkstatus;

    @TableField("CREATEUSERID")
    public String createuserid;

    @TableField("CREATEUSERNAME")
    public String createusername;

    @TableField("CREATEDATE")
    public String createdate;

    @TableField("LASTEDITUSERID")
    public String lastedituserid;

    @TableField("LASTEDITDATE")
    public String lasteditdate;

    @TableField("SYS_USER_ID")
    public String sysUserId;

    @TableField("COMPLETEDATASTATUS")
    public String completedatastatus;

    @Excel(name="职称")
    @TableField("titleName")
    public String titleName;

    @Excel(name="一级学科")
    @TableField("subjectName")
    public String subjectName;

    @Excel(name="最后学位")
    @TableField("eduName")
    public String eduName;

    @TableField(exist = false)
    private String[] idList;

    @Excel(name="最后学历")
    @TableField("eduLevelName")
    public String eduLevelName;

    @Excel(name="性别")
    @TableField("sexName")
    public String sexName;

    @Excel(name="专家来源")
    @TableField("sourceName")
    public String sourceName;

    @Excel(name="统计归属")
    @TableField("subjectClassName")
    public String subjectClassName;
}
